package com.hzw.saas.service.chat.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hzw.saas.common.config.model.BaseLogicModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("tb_chat_event")
public class ChatEvent  extends BaseLogicModel implements Serializable {

    @ApiModelProperty(value = "事件内容")
    private String eventDetail;

    @ApiModelProperty(value = "事件类型id，1:发送消息，2:建立连接，3:关闭连接，4:创建群组，5:删除群组，6:批准加入，7:踢出群组，8：添加好友 9：同意添加 10：拒绝，11：删除好友")
    private Integer eventType;

    @ApiModelProperty(value = "1:点对点用户，2:群组用户")
    private Integer groupType;

    @ApiModelProperty(value = "事件目标id")
    private String targetGroupId;

    @ApiModelProperty(value = "事件发起者id")
    private String sourceId;

    @ApiModelProperty(value = "目标人id")
    private String targetUserId;

    @ApiModelProperty(value = "瞬时时间")
    private Long milliSecond;
}
